package com.java.tutorials.designpattern.behavioral.visitor;

/**
 * Created by xuzhike on 2016/3/13.
 */
public class Client {
    public static void main(String[] args) {
        Car car = new Car();
        Visitor visitor = new Engineer("工程师小王");
        car.accept(visitor);
    }
}
